<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Stops the event loop</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="evloop.stat.html">EvLoop::stat</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="evloop.suspend.html">EvLoop::suspend</a></div>
 <div class="up"><a href="class.evloop.html">EvLoop</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="evloop.stop" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">EvLoop::stop</h1>
  <p class="verinfo">(PECL ev &gt;= 0.2.0)</p><p class="refpurpose"><span class="refname">EvLoop::stop</span> &mdash; <span class="dc-title">Stops the event loop</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-evloop.stop-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span>
   <span class="type"><span class="type void">void</span></span> 
   <span class="methodname"><strong>EvLoop::stop</strong></span>
    ([ <span class="methodparam">
    <span class="type">int</span>
     <code class="parameter">$how</code>
   </span>
  ] )</div>

  <p class="para rdfs-comment">
   Stops the event loop
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-evloop.stop-parameters">
  <h3 class="title">参数</h3>
  <dl>

   
    <dt>

     <em><code class="parameter">how</code></em>
    </dt>

    <dd>

     <p class="para">
      One of
      <em class="emphasis">Ev::BREAK_*</em>
      <a href="class.ev.html#ev.constants.break-flags" class="link">constants</a>
      .
     </p>
    </dd>

   
  </dl>

 </div>

 <div class="refsect1 returnvalues" id="refsect1-evloop.stop-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   没有返回值。
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-evloop.stop-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li class="member">
    <span class="methodname"><a href="evloop.run.html" class="methodname" rel="rdfs-seeAlso">EvLoop::run()</a> - Begin checking for events and calling callbacks for the loop</span>
   </li>
   <li class="member">
    <span class="methodname"><a href="ev.stop.html" class="methodname" rel="rdfs-seeAlso">Ev::stop()</a> - Stops the default event loop</span>
   </li>
  </ul>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="evloop.stat.html">EvLoop::stat</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="evloop.suspend.html">EvLoop::suspend</a></div>
 <div class="up"><a href="class.evloop.html">EvLoop</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
